<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>网站后台管理中心- Powered by UUASK</title>
<link rel="shortcut icon" href="/favicon.ico" />
<link href="/<?php echo C('UU_ADMINTPL_DIR');?>/public/css/common.css" rel="stylesheet" type="text/css">
<script src="/<?php echo C('UU_ADMINTPL_DIR');?>/public/js/jquery.min.js"></script>
<script src="/<?php echo C('UU_ADMINTPL_DIR');?>/public/js/jquery.highlight-3.js"></script>
<script src="/<?php echo C('UU_ADMINTPL_DIR');?>/public/js/jquery.vtip-min.js"></script>
<script src="/<?php echo C('UU_ADMINTPL_DIR');?>/public/js/jquery.dialog.js"></script>
<!--[if lt IE 9]>
  <script type="text/javascript" src="/<?php echo C('UU_ADMINTPL_DIR');?>/public/js/PIE.js"></script>
  <script type="text/javascript">
    (function($){
        $.pie = function(name, v){
            // 如果没有加载 PIE 则直接终止
            if (! PIE) return false;
            // 是否 jQuery 对象或者选择器名称
            var obj = typeof name == 'object' ? name : $(name);
            // 指定运行插件的 IE 浏览器版本
            var version = 9;
            // 未指定则默认使用 ie10 以下全兼容模式
            if (typeof v != 'number' && v < 9) {
                version = v;
            }
            // 可对指定的多个 jQuery 对象进行样式兼容
            if ($.browser.msie && obj.size() > 0) {
                if ($.browser.version*1 <= version*1) {
                    obj.each(function(){
                        PIE.attach(this);
                    });
                }
            }
        }
    })(jQuery);
    if ($.browser.msie) {
      $.pie('.pie_about');
    };
  </script>
<![endif]-->
<script src="/<?php echo C('UU_ADMINTPL_DIR');?>/public/js/jquery.disappear.tooltip.js"></script>
<script src="/<?php echo C('UU_ADMINTPL_DIR');?>/public/js/common.js"></script>
</head>
<body>
<div class="allpagetop">工具<strong>/</strong>短信</div>
<div class="admin_main_nr_dbox">
<div class="pagetit">
	        <div class="ptit">短信</div>
				<div class="topnav">
<a href="<?php echo RU('sms/config');?>" <?php if(ACTION_NAME == 'config'): ?>class="select"<?php endif; ?>>配置</a>
<a href="<?php echo RU('sms/tpl');?>" <?php if(ACTION_NAME == 'tpl'): ?>class="select"<?php endif; ?>>短信模板</a>
<div class="clear"></div>
</div> 
	        <div class="clear"></div>
  </div>
		
		
    <div class="toptit">短信配置<span class="note link_g">(素材火问答集成阿里大于短信平台，若使用手机短信功能请先获取阿里大于密钥，<a href="http://www.alidayu.com"  target="_blank"><strong>点击获取</strong></a>)</span></div>
  <form action="<?php echo RU('config/edit');?>" method="post"   name="FormData" id="FormData" >
	  <div class="admin_form_main">
	  
	   <div class="fl">开启短信:</div>
		<div class="fr">
		<div class="imgchecked_small <?php if($show["UU_SMS_OPEN"] == 1 ): ?>select<?php endif; ?>"><input name="UU_SMS_OPEN" type="hidden" value="<?php echo ($show["UU_SMS_OPEN"]); ?>" /></div>
		
		
		<div class="note">关闭短信会使部分相关功能不可用，如：手机短信登录，免注册发布问题和文章等...</div>
		<div class="clear"></div>
		</div>
		
	    <div class="moreform"  <?php if($show["UU_SMS_OPEN"] == 1 ): ?>style="display:block"<?php endif; ?>>
	      <div class="fl">APPKEY:</div>
	      <div class="fr"><input name="UU_SMS_APPKEY" type="text"  class="input_text_default" maxlength="60" placeholder="输入APPKEY" value="<?php echo ($show["UU_SMS_APPKEY"]); ?>"/>
          </div>
	      <div class="fl">SECRETKEY:</div>
	      <div class="fr">
	        <input name="UU_SMS_SECRETKEY" type="text"  class="input_text_default" maxlength="100" placeholder="输入SECRETKEY" value="<?php echo ($show["UU_SMS_SECRETKEY"]); ?>"/>
            </div>
	      <div class="fl">SIGNATURE:</div>
	      <div class="fr">
	        <input name="UU_SMS_SIGNATURE" type="text"  class="input_text_default" maxlength="300" placeholder="输入SIGNATURE（签名），如：素材火问答" value="<?php echo ($show["UU_SMS_SIGNATURE"]); ?>"/>
            </div>
        </div>
	    <div class="fl"></div>
		<div class="fr">
		<input name="" type="submit" class="admin_submit big"    value="保存配置"/>
		</div>
		
		
		
		<div class="clear"></div>
		
	  </div>
  
  
 
  
  
   
  </form>
</div>
<div class="footer link_lan">
Powered by <a href="http://www.zgxmall.com" target="_blank"><span style="color:#009900">中港星企业服务</span><span style="color: #FF3300">论坛</span></a> <?php echo C('UU_VERSION');?>
</div>
</body>
</html>
<script type="text/javascript">
		$(document).ready(function(){
			$('.imgchecked_small').click(function()
			{
				if($(this).find("input").val()=='1')
				{
				$(".moreform").hide();
				}
				else
				{
				$(".moreform").show();
				}
			});
		});
</script>
</body>
</html>